package com.zjweu.hkg.Servies;

import com.zjweu.hkg.POJO.Message;
import com.zjweu.hkg.POJO.User;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface MessageService {
    List<Message> getHistoryMessageByFromIdAndToId(int fromId, int toId);

    List<User> getChatUsersByUserId(int userId);

    List<Message> getUnreadMsgByUserId(int userId);
}
